﻿#ifndef DIALOG_SETLOADMODE_H
#define DIALOG_SETLOADMODE_H

#include <QDialog>
#include <qevent.h>

namespace Ui {
  class Dialog_SetLoadMode;
}

class Dialog_SetLoadMode : public QDialog
{
  Q_OBJECT
private://ui
  Ui::Dialog_SetLoadMode *ui;
private://property
  bool load=true;
public:
  explicit Dialog_SetLoadMode(QWidget *parent = nullptr);
  virtual ~Dialog_SetLoadMode();
public slots:
  virtual void accept() override;
  virtual void reject() override;
public:
  bool isLoad();
private:
  void updateLoadMode();

public://geter and seter
  bool getLoad();
  Dialog_SetLoadMode* setLoad(bool load);

};

#endif // DIALOG_SETLOADMODE_H
